Selection of the optimal spinal cord stimulation program for volitional motor control